package com.wangsd.web.service.impl;

import com.wangsd.web.dao.DirectfeeMapper;
import com.wangsd.web.model.Directfee;
import com.wangsd.web.model.DirectfeeExample;
import com.wangsd.web.modelCustom.DirectFeeCustom;
import com.wangsd.web.service.DirectFeeService;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by wangsd on 2017/12/14.
 */
@Service
public class DirectFeeServiceImpl implements DirectFeeService {

    @Autowired
    private DirectfeeMapper directfeeMapper;

    @Override
    public int countByExample(DirectfeeExample example) {
        return 0;
    }

    @Override
    public int deleteByExample(DirectfeeExample example) {
        return 0;
    }

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return directfeeMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(Directfee record) {
        return 0;
    }

    @Override
    public int insertSelective(Directfee record) {
        return directfeeMapper.insertSelective(record);
    }

    @Override
    public List<Directfee> selectByExample(DirectfeeExample example) {
        return null;
    }

    @Override
    public Directfee selectByPrimaryKey(Integer id) {
        return directfeeMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByExampleSelective(@Param("record") Directfee record, @Param("example") DirectfeeExample example) {
        return 0;
    }

    @Override
    public int updateByExample(@Param("record") Directfee record, @Param("example") DirectfeeExample example) {
        return 0;
    }

    @Override
    public int updateByPrimaryKeySelective(Directfee record) {
    	int num=directfeeMapper.updateByPrimaryKeySelective(record);
        return num;
    }

    @Override
    public int updateByPrimaryKey(Directfee record) {
        return 0;
    }

    @Override
    public List<DirectFeeCustom> tableDirectFee(DirectFeeCustom directFeeCustom) {
        return directfeeMapper.tableDirectFee(directFeeCustom);
    }

    @Override
    public Integer tableDirectFeeCount(DirectFeeCustom directFeeCustom) {
        return directfeeMapper.tableDirectFeeCount(directFeeCustom);
    }
}
